﻿using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VisionFrame.Models
{
    public class LinkModel : ObservableObject
    {
        public string StartAnchor { get; set; }
        private string _endAnchor;

        public string EndAnchor
        {
            get { return _endAnchor; }
            set { SetProperty<string>(ref _endAnchor, value); }
        }


        public string StartId { get; set; }
        public string EndId { get; set; }

        private double _startX;

        public double StartX
        {
            get { return _startX; }
            set { SetProperty<double>(ref _startX, value); }
        }
        private double _startY;

        public double StartY
        {
            get { return _startY; }
            set { SetProperty<double>(ref _startY, value); }
        }
        private double _endX;

        public double EndX
        {
            get { return _endX; }
            set { SetProperty<double>(ref _endX, value); }
        }
        private double _endY;

        public double EndY
        {
            get { return _endY; }
            set { SetProperty<double>(ref _endY, value); }
        }

        public string Condition { get; set; }
    }
}
